home *** CD-ROM | disk | FTP | other *** search
/ Super Shareware Collection / Super Shareware Collection.iso / info / ms_txt.zip / PD0465.TXT < prev    next >
Text File  |  1994-02-18  |  10KB  |  253 lines

  1. ======================================================================
  2.   Microsoft(R) Product Support Services Application Note (Text File)
  3.          PD0465: PROBLEMS FORMATTING OR READING A FLOPPY DISK
  4. ======================================================================
  5.                                                    Revision Date: 4/93
  6.                                                       No Disk Included
  7.  
  8. The following information applies to Microsoft MS-DOS(R) versions 5.0
  9. and 6.0.
  10.  
  11.  --------------------------------------------------------------------
  12. | INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY    |
  13. | ACCOMPANY THIS DOCUMENT (collectively referred to as an            |
  14. | Application Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY      |
  15. | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO    |
  16. | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A     |
  17. | PARTICULAR PURPOSE. The user assumes the entire risk as to the     |
  18. | accuracy and the use of this Application Note. This Application    |
  19. | Note may be copied and distributed subject to the following        |
  20. | conditions: 1) All text must be copied without modification and    |
  21. | all pages must be included; 2) If software is included, all files  |
  22. | on the disk(s) must be copied without modification [the MS-DOS(R)  |
  23. | utility DISKCOPY is appropriate for this purpose]; 3) All          |
  24. | components of this Application Note must be distributed together;  |
  25. | and 4) This Application Note may not be distributed for profit.    |
  26. |                                                                    |
  27. | Copyright 1992-1993 Microsoft Corporation. All Rights Reserved.    |
  28. | Microsoft and MS-DOS are registered trademarks and Windows         |
  29. | is a trademark of Microsoft Corporation.                           |
  30.  --------------------------------------------------------------------
  31.  
  32. INTRODUCTION
  33. ============
  34.  
  35. This application note discusses the symptoms associated with not being
  36. able to format a floppy disk, the cause of the problem, and how to
  37. solve this behavior.
  38.  
  39. SYMPTOMS
  40. ========
  41.  
  42. You try to read information from a floppy disk, or format a floppy
  43. disk by using the FORMAT command, and you receive one of the following
  44. error messages:
  45.  
  46.    Invalid media type -- track 0 bad
  47.    
  48.    Parameters not supported by drive
  49.  
  50. CAUSE
  51. =====
  52.  
  53. Some hardware manufacturers used earlier versions of MS-DOS to define
  54. the capacity of the floppy disk drives on their computers. MS-DOS
  55. versions 5.0 and 6.0 do not recognize some of these definitions. If
  56. your drive doesn't format floppy disks, you must either redefine the
  57. disk drive using the DRIVPARM command in your CONFIG.SYS file, define
  58. a second configuration for the disk drive using DRIVER.SYS in your
  59. CONFIG.SYS file, or contact the original manufacturer of your hardware
  60. for a BIOS that supports MS-DOS 5.0 and 6.0.
  61.  
  62. SOLUTIONS
  63. =========
  64.  
  65. If MS-DOS won't read or format a high-density disk (1.2 megabyte [MB]
  66. or 1.44 MB), try Procedure 1. If you cannot read or format a low-
  67. density disk (360 kilobytes [K] or 720K) or a disk with an unusual
  68. configuration, read the "Problems with Other Disk Sizes" section later
  69. in this document before you try a solution.
  70.  
  71.   IMPORTANT: Try Procedure 1 first. If it does not solve the problem,
  72.   try Procedure 2.
  73.  
  74. PROCEDURE 1: RECONFIGURE AN EXISTING DRIVE
  75. ==========================================
  76.  
  77. 1. Use a text editor, such as MS-DOS Editor, to open your CONFIG.SYS
  78.    file. If you want to use MS-DOS Editor, type the following at the
  79.    MS-DOS command prompt and press ENTER
  80.  
  81.       edit <drive>:\config.sys
  82.  
  83.    where <drive> is the startup drive where your CONFIG.SYS file
  84.    currently resides. For example, if your startup drive is drive C,
  85.    type the following command:
  86.  
  87.       edit c:\config.sys
  88.  
  89. 2. At the end of the CONFIG.SYS file, add one of the following
  90.    commands.
  91.    
  92.    To get your first (or only) floppy disk drive to work with 1.2-MB
  93.    (5.25-inch) disks, add the following line:
  94.    
  95.       drivparm=/d:0 /f:1
  96.  
  97.    To get your first (or only) floppy disk drive to work with 1.44-MB
  98.    (3.5-inch) disks, add the following line:
  99.    
  100.       drivparm=/d:0 /f:7 /i
  101.    
  102.    To get your second floppy disk drive (if your computer has two) to
  103.    work with 1.2-MB (5.25-inch) disks, add the following line:
  104.    
  105.       drivparm=/d:1 /f:1
  106.       
  107.    To get your second floppy disk drive (if your computer has two) to
  108.    work with 1.44-MB (3.5-inch) disks, add the following line:
  109.    
  110.       drivparm=/d:1 /f:7 /i
  111.  
  112. 3. Save your CONFIG.SYS file and exit the text editor. If you're using
  113.    MS-DOS Editor, choose Exit from the File menu. When MS-DOS Editor
  114.    displays a dialog box prompting you to save your file, choose the
  115.    Yes button or press ENTER.
  116.  
  117. 4. Restart your computer by pressing CTRL+ALT+DEL.
  118.  
  119. 5. Try reading or formatting the floppy disk again.
  120.  
  121.    If you can read or format the disk, you've solved the problem and
  122.    can stop here. If you still cannot read or format the disk, perform
  123.    the next procedure.
  124.    
  125. PROCEDURE 2: CREATE AN ADDITIONAL LOGICAL DRIVE
  126. ===============================================
  127.  
  128. If Procedure 1 did not solve the problem, do the following:
  129.  
  130. 1. Use a text editor, such as MS-DOS Editor, to open your CONFIG.SYS
  131.    file. If you want to use MS-DOS Editor, type the following at the
  132.    MS-DOS command prompt and press ENTER:
  133.  
  134.       edit <drive>:\config.sys
  135.  
  136. 2. If you added a DRIVPARM command to your CONFIG.SYS file while
  137.    following the first procedure, delete the DRIVPARM command.
  138.  
  139. 3. At the end of the CONFIG.SYS file, add one of the following DEVICE
  140.    commands.
  141.  
  142.    To get your first (or only) floppy disk drive to work with 1.2-MB
  143.    (5.25-inch) disks, add the following line
  144.    
  145.       device=<path>\driver.sys /d:0 /f:1
  146.  
  147.    where <path> is the path to your DRIVER.SYS file. For example, if
  148.    your DRIVER.SYS file is located in the DOS directory on drive C,
  149.    type the following line:
  150.  
  151.       device=c:\dos\driver.sys /d:0 /f:1
  152.  
  153.    To get your first (or only) floppy disk drive to work with 1.44-MB
  154.    (3.5-inch) disks, add the following line:
  155.  
  156.       device=<path>\driver.sys /d:0 /f:7
  157.    
  158.    To get your second floppy disk drive (if your computer has two) to
  159.    work with 1.2-MB (5.25-inch) disks, add the following line:
  160.          
  161.       device=<path>\driver.sys /d:1 /f:1
  162.          
  163.    To get your second floppy disk drive (if your computer has two) to
  164.    work with 1.44-MB (3.5-inch) disks, add the following line:
  165.    
  166.       device=<path>\driver.sys /d:1 /f:7
  167.  
  168. 4. Save your CONFIG.SYS file and exit the text editor. If you're using
  169.    MS-DOS Editor, choose Exit from the File menu. When MS-DOS Editor
  170.    displays a dialog box prompting you to save your file, choose the
  171.    Yes button or press ENTER.
  172.  
  173. 5. Restart your computer by pressing CTRL+ALT+DEL.
  174.  
  175.    When your computer starts, MS-DOS displays a message stating that
  176.    it has created a logical disk drive. This message includes the
  177.    letter it has assigned to the new drive. For example, if you had
  178.    drives A and C on your system before, this new drive is drive D,
  179.    and MS-DOS displays the following message when you start your
  180.    computer:
  181.    
  182.       Loaded External Disk Driver for Drive D
  183.  
  184. 6. Insert a disk in the floppy disk drive and try formatting the disk
  185.    using the new drive letter. For example, if the new drive is D,
  186.    issue the FORMAT command using "d:" as the drive specification by
  187.    typing the following at the MS-DOS command prompt and pressing
  188.    ENTER:
  189.  
  190.       format d:
  191.  
  192. If you still cannot format a floppy disk, you need to get updated
  193. hardware or software. If you used DRIVPARM or DRIVER.SYS successfully 
  194. with your earlier version of MS-DOS, contact your computer
  195. manufacturer for a BIOS that supports MS-DOS 5.0 and 6.0. If you have
  196. not used DRIVPARM or DRIVER.SYS before, you might need to get an
  197. updated version of your computer manufacturer's version of MS-DOS from
  198. your computer vendor.
  199.  
  200. PROBLEMS WITH OTHER DISK SIZES
  201. ==============================
  202.  
  203. If MS-DOS won't read or format a low-density disk (360K or 720K) or a
  204. 2.88-MB disk, you can follow the procedures outlined earlier in this
  205. document, but you will need to use a different value for the /F
  206. switch. The following table lists the /F switch values to use:
  207.  
  208.    Drive Size    Disk Capacity    Values to Use
  209.    --------------------------------------------
  210.    
  211.    5.25 inch     160K, 180K,      /F:0
  212.                  320K, 360K
  213.    
  214.    3.5 inch      720K             /F:2
  215.    
  216.    3.5 inch      2.88 MB          /F:9
  217.    
  218. For example, if you are having problems using a 720K disk drive,
  219. follow Procedure 1 or 2, but substitute /F:2 for the /F switch value
  220. shown in the procedure. When using DRIVPARM to specify drive
  221. parameters on a 3.5-inch disk drive, it may be necessary to use the /I
  222. (the letter "I") switch in addition to the /F switch. The /I switch is
  223. valid with DRIVPARM only and should not be used with DRIVER.SYS.
  224.  
  225. If you have a disk with an unusual configuration (a nonstandard number
  226. of heads or sectors, for example), you can specify additional switches
  227. with DRIVPARM or DRIVER.SYS. For more information, see the "Microsoft
  228. MS-DOS User's Guide and Reference" for version 5.0 or MS-DOS Help for
  229. version 6.0 (by typing "help" [without the quotation marks] at the
  230. MS-DOS command prompt).
  231.  
  232. RELATED INFORMATION
  233. ===================
  234.  
  235. Version 5.0
  236. -----------
  237.  
  238.  - For more information about adding disk drives, see Chapter 11 of
  239.    the "Microsoft MS-DOS User's Guide and Reference."
  240.  - For more information about the DRIVPARM command, see Chapter 14 of
  241.    the "Microsoft MS-DOS User's Guide and Reference."
  242.  - For more information about the command-line syntax for DRIVER.SYS,
  243.    see Chapter 15 of the "Microsoft MS-DOS User's Guide and
  244.    Reference."
  245.  
  246. Version 6.0
  247. -----------
  248.  
  249. For more information about adding disk drives, about the DRIVPARM
  250. command, or about the command-line syntax for DRIVER.SYS see MS-DOS
  251. Help (by typing "help" [without the quotation marks] at the MS-DOS
  252. command prompt).
  253.